import request from '@/utils/request'
// 给角色分配权限
export function allocatePermission(data) {
  return request.put('/sys/role/assignPrem', data)
}
// 获取角色详情
export function getRole(id) {
  return request.get(`/sys/role/${id}`)
}
